<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::CSvmDerivative&lt; InputType, CacheType &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_c_svm_derivative.html">CSvmDerivative</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_c_svm_derivative-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle"><div class="title">shark::CSvmDerivative&lt; InputType, CacheType &gt; Class Template Reference</div></div>
</div><!--header-->
<div class="contents">

<p>This class provides two main member functions for computing the derivative of a C-SVM hypothesis w.r.t. its hyperparameters. The constructor takes a pointer to a <a class="el" href="structshark_1_1_kernel_classifier.html" title="Linear classifier in a kernel feature space.">KernelClassifier</a> and an SvmTrainer, in the assumption that the former was trained by the latter. It heavily accesses their members to calculate the derivative of the alpha and offset values w.r.t. the SVM hyperparameters, that is, the regularization parameter C and the kernel parameters. This is done in the member function prepareCSvmParameterDerivative called by the constructor. After this initial, heavier computation step, modelCSvmParameterDerivative can be called on an input sample to the SVM model, and the method will yield the derivative of the hypothesis w.r.t. the SVM hyperparameters.  
 <a href="classshark_1_1_c_svm_derivative.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_c_svm_derivative_8h_source.html">shark/Models/Kernels/CSvmDerivative.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::CSvmDerivative&lt; InputType, CacheType &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_c_svm_derivative__inherit__graph.png" border="0" usemap="#ashark_1_1_c_svm_derivative_3_01_input_type_00_01_cache_type_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_c_svm_derivative_3_01_input_type_00_01_cache_type_01_4_inherit__map" id="ashark_1_1_c_svm_derivative_3_01_input_type_00_01_cache_type_01_4_inherit__map">
<area shape="rect" title="This class provides two main member functions for computing the derivative of a C&#45;SVM hypothesis w...." alt="" coords="59,79,236,120"/>
<area shape="rect" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality." alt="" coords="5,5,138,31"/>
<area shape="poly" title=" " alt="" coords="96,41,131,77,127,80,92,44"/>
<area shape="rect" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name." alt="" coords="161,5,286,31"/>
<area shape="poly" title=" " alt="" coords="203,44,168,80,164,77,199,41"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a7d5c6ca42465fd360c684d5ec3a0d133" id="r_a7d5c6ca42465fd360c684d5ec3a0d133"><td class="memItemLeft" align="right" valign="top">typedef CacheType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#a7d5c6ca42465fd360c684d5ec3a0d133">QpFloatType</a></td></tr>
<tr class="separator:a7d5c6ca42465fd360c684d5ec3a0d133"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ebe1e82ac4a8d09d74f8aa8db8be056" id="r_a9ebe1e82ac4a8d09d74f8aa8db8be056"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_kernel_classifier.html">KernelClassifier</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#a9ebe1e82ac4a8d09d74f8aa8db8be056">KeType</a></td></tr>
<tr class="separator:a9ebe1e82ac4a8d09d74f8aa8db8be056"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a954968c2f086b9c7f16b4a68d69556" id="r_a1a954968c2f086b9c7f16b4a68d69556"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_kernel_function.html">AbstractKernelFunction</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#a1a954968c2f086b9c7f16b4a68d69556">KernelType</a></td></tr>
<tr class="separator:a1a954968c2f086b9c7f16b4a68d69556"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a854324eaf0093bae8996e5aa0edc3449" id="r_a854324eaf0093bae8996e5aa0edc3449"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_c_svm_trainer.html">CSvmTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#a7d5c6ca42465fd360c684d5ec3a0d133">QpFloatType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#a854324eaf0093bae8996e5aa0edc3449">TrainerType</a></td></tr>
<tr class="separator:a854324eaf0093bae8996e5aa0edc3449"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7ee628c62b706b9b7439840ae5a9546d" id="r_a7ee628c62b706b9b7439840ae5a9546d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#a7ee628c62b706b9b7439840ae5a9546d">CSvmDerivative</a> (<a class="el" href="classshark_1_1_c_svm_derivative.html#a9ebe1e82ac4a8d09d74f8aa8db8be056">KeType</a> *<a class="el" href="classshark_1_1_c_svm_derivative.html#aaf377dbac6291d22025ca3c8e92d57d9">ke</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#a854324eaf0093bae8996e5aa0edc3449">TrainerType</a> *<a class="el" href="classshark_1_1_c_svm_derivative.html#ac11b2f7acd73f07958e8e1d2de9a73a2">trainer</a>)</td></tr>
<tr class="separator:a7ee628c62b706b9b7439840ae5a9546d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65fc3c6c7de2ef556fdacaa9376e4acb" id="r_a65fc3c6c7de2ef556fdacaa9376e4acb"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#a65fc3c6c7de2ef556fdacaa9376e4acb">name</a> () const</td></tr>
<tr class="memdesc:a65fc3c6c7de2ef556fdacaa9376e4acb"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name.  <br /></td></tr>
<tr class="separator:a65fc3c6c7de2ef556fdacaa9376e4acb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf377dbac6291d22025ca3c8e92d57d9" id="r_aaf377dbac6291d22025ca3c8e92d57d9"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_c_svm_derivative.html#a9ebe1e82ac4a8d09d74f8aa8db8be056">KeType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#aaf377dbac6291d22025ca3c8e92d57d9">ke</a> ()</td></tr>
<tr class="separator:aaf377dbac6291d22025ca3c8e92d57d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac11b2f7acd73f07958e8e1d2de9a73a2" id="r_ac11b2f7acd73f07958e8e1d2de9a73a2"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_c_svm_derivative.html#a854324eaf0093bae8996e5aa0edc3449">TrainerType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#ac11b2f7acd73f07958e8e1d2de9a73a2">trainer</a> ()</td></tr>
<tr class="separator:ac11b2f7acd73f07958e8e1d2de9a73a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e46e908d670b88e6e5ab32f3482e7d8" id="r_a2e46e908d670b88e6e5ab32f3482e7d8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#a2e46e908d670b88e6e5ab32f3482e7d8">modelCSvmParameterDerivative</a> (const <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &amp;input, RealVector &amp;derivative)</td></tr>
<tr class="separator:a2e46e908d670b88e6e5ab32f3482e7d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9d1a0937c92a0c506baeeb36df5e2da" id="r_ad9d1a0937c92a0c506baeeb36df5e2da"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#ad9d1a0937c92a0c506baeeb36df5e2da">hasFreeSVs</a> ()</td></tr>
<tr class="separator:ad9d1a0937c92a0c506baeeb36df5e2da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78db48a428319dd6d11d6c592ccd7935" id="r_a78db48a428319dd6d11d6c592ccd7935"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#a78db48a428319dd6d11d6c592ccd7935">hasBoundedSVs</a> ()</td></tr>
<tr class="separator:a78db48a428319dd6d11d6c592ccd7935"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad1d2282bcb2519f7ff7f31e1a1dc7c2" id="r_aad1d2282bcb2519f7ff7f31e1a1dc7c2"><td class="memItemLeft" align="right" valign="top">const RealMatrix &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#aad1d2282bcb2519f7ff7f31e1a1dc7c2">get_dalphab_dtheta</a> ()</td></tr>
<tr class="memdesc:aad1d2282bcb2519f7ff7f31e1a1dc7c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access to the matrix of SVM coefficients' derivatives. Derivative w.r.t. C is last.  <br /></td></tr>
<tr class="separator:aad1d2282bcb2519f7ff7f31e1a1dc7c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a57799c4b3da25509930d480a0aed19" id="r_a4a57799c4b3da25509930d480a0aed19"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#a4a57799c4b3da25509930d480a0aed19">read</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive)</td></tr>
<tr class="memdesc:a4a57799c4b3da25509930d480a0aed19"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>, reads a network from an archive.  <br /></td></tr>
<tr class="separator:a4a57799c4b3da25509930d480a0aed19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab23ece6f8bff1fbfc3820b9c6031a874" id="r_ab23ece6f8bff1fbfc3820b9c6031a874"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#ab23ece6f8bff1fbfc3820b9c6031a874">write</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive) const</td></tr>
<tr class="memdesc:ab23ece6f8bff1fbfc3820b9c6031a874"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>, writes a network to an archive.  <br /></td></tr>
<tr class="separator:ab23ece6f8bff1fbfc3820b9c6031a874"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_serializable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_serializable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_serializable.html">shark::ISerializable</a></td></tr>
<tr class="memitem:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable" id="r_a7baa9ce108d7278822297ce15882782a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a7baa9ce108d7278822297ce15882782a">~ISerializable</a> ()</td></tr>
<tr class="memdesc:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual d'tor.  <br /></td></tr>
<tr class="separator:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable" id="r_abdda0c5b8e065b8afbac2cba8f58e841"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#abdda0c5b8e065b8afbac2cba8f58e841">load</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive, unsigned int version)</td></tr>
<tr class="memdesc:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned loading of components, calls read(...).  <br /></td></tr>
<tr class="separator:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable" id="r_a5bf66fa8db15cc529bec98976a2f5255"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a5bf66fa8db15cc529bec98976a2f5255">save</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive, unsigned int version) const</td></tr>
<tr class="memdesc:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned storing of components, calls write(...).  <br /></td></tr>
<tr class="separator:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable" id="r_a4560a94e8f4908fe8627e41e7d965735"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a4560a94e8f4908fe8627e41e7d965735">BOOST_SERIALIZATION_SPLIT_MEMBER</a> ()</td></tr>
<tr class="separator:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_nameable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_nameable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_nameable.html">shark::INameable</a></td></tr>
<tr class="memitem:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable" id="r_a877dbdfc6b58ea836495143cea44a98c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a877dbdfc6b58ea836495143cea44a98c">~INameable</a> ()</td></tr>
<tr class="separator:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a01ce15f34ecda8ecc078af90d254946d" id="r_a01ce15f34ecda8ecc078af90d254946d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_kernel_expansion.html">KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#a01ce15f34ecda8ecc078af90d254946d">mep_ke</a></td></tr>
<tr class="memdesc:a01ce15f34ecda8ecc078af90d254946d"><td class="mdescLeft">&#160;</td><td class="mdescRight">pointer to the <a class="el" href="classshark_1_1_kernel_expansion.html" title="Linear model in a kernel feature space.">KernelExpansion</a> which has to have been been trained by the below SvmTrainer  <br /></td></tr>
<tr class="separator:a01ce15f34ecda8ecc078af90d254946d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8a6a9c55b58567e079637463464069d" id="r_ae8a6a9c55b58567e079637463464069d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_c_svm_derivative.html#a854324eaf0093bae8996e5aa0edc3449">TrainerType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#ae8a6a9c55b58567e079637463464069d">mep_tr</a></td></tr>
<tr class="memdesc:ae8a6a9c55b58567e079637463464069d"><td class="mdescLeft">&#160;</td><td class="mdescRight">pointer to the SvmTrainer with which the above <a class="el" href="classshark_1_1_kernel_expansion.html" title="Linear model in a kernel feature space.">KernelExpansion</a> has to have been trained  <br /></td></tr>
<tr class="separator:ae8a6a9c55b58567e079637463464069d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e58aaf2f55f175568cf51728c5c86f2" id="r_a8e58aaf2f55f175568cf51728c5c86f2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_c_svm_derivative.html#a1a954968c2f086b9c7f16b4a68d69556">KernelType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#a8e58aaf2f55f175568cf51728c5c86f2">mep_k</a></td></tr>
<tr class="memdesc:a8e58aaf2f55f175568cf51728c5c86f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">convenience pointer to the underlying kernel function  <br /></td></tr>
<tr class="separator:a8e58aaf2f55f175568cf51728c5c86f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a389de13ed64569e21da0f57e42efc39d" id="r_a389de13ed64569e21da0f57e42efc39d"><td class="memItemLeft" align="right" valign="top">RealMatrix &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#a389de13ed64569e21da0f57e42efc39d">m_alpha</a></td></tr>
<tr class="memdesc:a389de13ed64569e21da0f57e42efc39d"><td class="mdescLeft">&#160;</td><td class="mdescRight">convenience reference to the alpha values of the <a class="el" href="classshark_1_1_kernel_expansion.html" title="Linear model in a kernel feature space.">KernelExpansion</a>  <br /></td></tr>
<tr class="separator:a389de13ed64569e21da0f57e42efc39d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa37ffb53e952460a43a53f66d2483603" id="r_aa37ffb53e952460a43a53f66d2483603"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#aa37ffb53e952460a43a53f66d2483603">m_basis</a></td></tr>
<tr class="memdesc:aa37ffb53e952460a43a53f66d2483603"><td class="mdescLeft">&#160;</td><td class="mdescRight">convenience reference to the underlying data of the <a class="el" href="classshark_1_1_kernel_expansion.html" title="Linear model in a kernel feature space.">KernelExpansion</a>  <br /></td></tr>
<tr class="separator:aa37ffb53e952460a43a53f66d2483603"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae64df699b30ae931165780b9e2301ede" id="r_ae64df699b30ae931165780b9e2301ede"><td class="memItemLeft" align="right" valign="top">const RealVector &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#ae64df699b30ae931165780b9e2301ede">m_db_dParams_from_solver</a></td></tr>
<tr class="memdesc:ae64df699b30ae931165780b9e2301ede"><td class="mdescLeft">&#160;</td><td class="mdescRight">convenience access to the correction term from the solver, for the rare case that there are no free SVs  <br /></td></tr>
<tr class="separator:ae64df699b30ae931165780b9e2301ede"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6ebca73981c2e0c5998ad29305dfb71" id="r_aa6ebca73981c2e0c5998ad29305dfb71"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#aa6ebca73981c2e0c5998ad29305dfb71">m_C</a></td></tr>
<tr class="memdesc:aa6ebca73981c2e0c5998ad29305dfb71"><td class="mdescLeft">&#160;</td><td class="mdescRight">the regularization parameter value with which the SvmTrainer trained the <a class="el" href="classshark_1_1_kernel_expansion.html" title="Linear model in a kernel feature space.">KernelExpansion</a>  <br /></td></tr>
<tr class="separator:aa6ebca73981c2e0c5998ad29305dfb71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ee6eca2ca7f7d17fcbd8cb0e9a6838f" id="r_a1ee6eca2ca7f7d17fcbd8cb0e9a6838f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#a1ee6eca2ca7f7d17fcbd8cb0e9a6838f">m_unconstrained</a></td></tr>
<tr class="memdesc:a1ee6eca2ca7f7d17fcbd8cb0e9a6838f"><td class="mdescLeft">&#160;</td><td class="mdescRight">is the unconstrained flag of the SvmTrainer set? Influences the derivatives!  <br /></td></tr>
<tr class="separator:a1ee6eca2ca7f7d17fcbd8cb0e9a6838f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa71919c545c490a4677bd05a78d6ad64" id="r_aa71919c545c490a4677bd05a78d6ad64"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#aa71919c545c490a4677bd05a78d6ad64">m_nkp</a></td></tr>
<tr class="memdesc:aa71919c545c490a4677bd05a78d6ad64"><td class="mdescLeft">&#160;</td><td class="mdescRight">convenience member holding the Number of Kernel Parameters.  <br /></td></tr>
<tr class="separator:aa71919c545c490a4677bd05a78d6ad64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2caaa99a014e8d38e60e17cfec5a9a0" id="r_ac2caaa99a014e8d38e60e17cfec5a9a0"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#ac2caaa99a014e8d38e60e17cfec5a9a0">m_nhp</a></td></tr>
<tr class="memdesc:ac2caaa99a014e8d38e60e17cfec5a9a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">convenience member holding the Number of Hyper Parameters.  <br /></td></tr>
<tr class="separator:ac2caaa99a014e8d38e60e17cfec5a9a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad32ca8b5eaae5c0c00f46f05c1891d9" id="r_aad32ca8b5eaae5c0c00f46f05c1891d9"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#aad32ca8b5eaae5c0c00f46f05c1891d9">m_noofFreeSVs</a></td></tr>
<tr class="memdesc:aad32ca8b5eaae5c0c00f46f05c1891d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">number of free SVs  <br /></td></tr>
<tr class="separator:aad32ca8b5eaae5c0c00f46f05c1891d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a313f8373d924b205dd5d6c9720a29449" id="r_a313f8373d924b205dd5d6c9720a29449"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#a313f8373d924b205dd5d6c9720a29449">m_noofBoundedSVs</a></td></tr>
<tr class="memdesc:a313f8373d924b205dd5d6c9720a29449"><td class="mdescLeft">&#160;</td><td class="mdescRight">number of bounded SVs  <br /></td></tr>
<tr class="separator:a313f8373d924b205dd5d6c9720a29449"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a864c7537427ab957fa84672bda0162d4" id="r_a864c7537427ab957fa84672bda0162d4"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::size_t &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#a864c7537427ab957fa84672bda0162d4">m_freeAlphaIndices</a></td></tr>
<tr class="memdesc:a864c7537427ab957fa84672bda0162d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">indices of free SVs  <br /></td></tr>
<tr class="separator:a864c7537427ab957fa84672bda0162d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e8289e061e797734a65706b7759a6c0" id="r_a1e8289e061e797734a65706b7759a6c0"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::size_t &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#a1e8289e061e797734a65706b7759a6c0">m_boundedAlphaIndices</a></td></tr>
<tr class="memdesc:a1e8289e061e797734a65706b7759a6c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">indices of bounded SVs  <br /></td></tr>
<tr class="separator:a1e8289e061e797734a65706b7759a6c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afbd0b3dcbf7f6765a08e40bbbf9a145c" id="r_afbd0b3dcbf7f6765a08e40bbbf9a145c"><td class="memItemLeft" align="right" valign="top">RealVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#afbd0b3dcbf7f6765a08e40bbbf9a145c">m_freeAlphas</a></td></tr>
<tr class="memdesc:afbd0b3dcbf7f6765a08e40bbbf9a145c"><td class="mdescLeft">&#160;</td><td class="mdescRight">free non-SV alpha values  <br /></td></tr>
<tr class="separator:afbd0b3dcbf7f6765a08e40bbbf9a145c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e241e0dd76c9c4542dbb11215ff27bd" id="r_a4e241e0dd76c9c4542dbb11215ff27bd"><td class="memItemLeft" align="right" valign="top">RealVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#a4e241e0dd76c9c4542dbb11215ff27bd">m_boundedAlphas</a></td></tr>
<tr class="memdesc:a4e241e0dd76c9c4542dbb11215ff27bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">bounded non-SV alpha values  <br /></td></tr>
<tr class="separator:a4e241e0dd76c9c4542dbb11215ff27bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d4715c464f82da4b5be48d18111997e" id="r_a9d4715c464f82da4b5be48d18111997e"><td class="memItemLeft" align="right" valign="top">RealVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#a9d4715c464f82da4b5be48d18111997e">m_boundedLabels</a></td></tr>
<tr class="memdesc:a9d4715c464f82da4b5be48d18111997e"><td class="mdescLeft">&#160;</td><td class="mdescRight">labels of bounded non-SVs  <br /></td></tr>
<tr class="separator:a9d4715c464f82da4b5be48d18111997e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af618384c52d790cc609ade3a522b38d8" id="r_af618384c52d790cc609ade3a522b38d8"><td class="memItemLeft" align="right" valign="top">RealMatrix&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_svm_derivative.html#af618384c52d790cc609ade3a522b38d8">m_d_alphab_d_theta</a></td></tr>
<tr class="separator:af618384c52d790cc609ade3a522b38d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, class CacheType = double&gt;<br />
class shark::CSvmDerivative&lt; InputType, CacheType &gt;</div><p>This class provides two main member functions for computing the derivative of a C-SVM hypothesis w.r.t. its hyperparameters. The constructor takes a pointer to a <a class="el" href="structshark_1_1_kernel_classifier.html" title="Linear classifier in a kernel feature space.">KernelClassifier</a> and an SvmTrainer, in the assumption that the former was trained by the latter. It heavily accesses their members to calculate the derivative of the alpha and offset values w.r.t. the SVM hyperparameters, that is, the regularization parameter C and the kernel parameters. This is done in the member function prepareCSvmParameterDerivative called by the constructor. After this initial, heavier computation step, modelCSvmParameterDerivative can be called on an input sample to the SVM model, and the method will yield the derivative of the hypothesis w.r.t. the SVM hyperparameters. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">InputType</td><td>Same basis type as the kernel expansion's </td></tr>
    <tr><td class="paramname">CacheType</td><td>While the basic cache type defaults to float in the QP algorithms, it here defaults to double, because the SVM derivative benefits a lot from higher precision. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00071">71</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a1a954968c2f086b9c7f16b4a68d69556" name="a1a954968c2f086b9c7f16b4a68d69556"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a954968c2f086b9c7f16b4a68d69556">&#9670;&#160;</a></span>KernelType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_kernel_function.html">AbstractKernelFunction</a>&lt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>&gt; <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::KernelType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00076">76</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

</div>
</div>
<a id="a9ebe1e82ac4a8d09d74f8aa8db8be056" name="a9ebe1e82ac4a8d09d74f8aa8db8be056"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ebe1e82ac4a8d09d74f8aa8db8be056">&#9670;&#160;</a></span>KeType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structshark_1_1_kernel_classifier.html">KernelClassifier</a>&lt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>&gt; <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::KeType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00075">75</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

</div>
</div>
<a id="a7d5c6ca42465fd360c684d5ec3a0d133" name="a7d5c6ca42465fd360c684d5ec3a0d133"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d5c6ca42465fd360c684d5ec3a0d133">&#9670;&#160;</a></span>QpFloatType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef CacheType <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::QpFloatType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00074">74</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

</div>
</div>
<a id="a854324eaf0093bae8996e5aa0edc3449" name="a854324eaf0093bae8996e5aa0edc3449"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a854324eaf0093bae8996e5aa0edc3449">&#9670;&#160;</a></span>TrainerType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_c_svm_trainer.html">CSvmTrainer</a>&lt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#a7d5c6ca42465fd360c684d5ec3a0d133">QpFloatType</a>&gt; <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::TrainerType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00077">77</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a7ee628c62b706b9b7439840ae5a9546d" name="a7ee628c62b706b9b7439840ae5a9546d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ee628c62b706b9b7439840ae5a9546d">&#9670;&#160;</a></span>CSvmDerivative()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::CSvmDerivative </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_c_svm_derivative.html#a9ebe1e82ac4a8d09d74f8aa8db8be056">KeType</a> *&#160;</td>
          <td class="paramname"><em>ke</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_c_svm_derivative.html#a854324eaf0093bae8996e5aa0edc3449">TrainerType</a> *&#160;</td>
          <td class="paramname"><em>trainer</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructor. Only sets up the main pointers and references to the external instances and data, and performs basic sanity checks. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ke</td><td>pointer to the <a class="el" href="classshark_1_1_kernel_expansion.html" title="Linear model in a kernel feature space.">KernelExpansion</a> which has to have been been trained by the below SvmTrainer </td></tr>
    <tr><td class="paramname">trainer</td><td>pointer to the SvmTrainer with which the above <a class="el" href="classshark_1_1_kernel_expansion.html" title="Linear model in a kernel feature space.">KernelExpansion</a> has to have been trained </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00118">118</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_svm_trainer.html#a084595212c691b938fe6d421f40a908b">shark::AbstractSvmTrainer&lt; InputType, LabelType, Model, Trainer &gt;::kernel()</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#a389de13ed64569e21da0f57e42efc39d">shark::CSvmDerivative&lt; InputType, CacheType &gt;::m_alpha</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#a01ce15f34ecda8ecc078af90d254946d">shark::CSvmDerivative&lt; InputType, CacheType &gt;::mep_ke</a>, <a class="el" href="_exception_8h.html#adce1f80097c69010f5eab2618fa2e971">SHARK_RUNTIME_CHECK</a>, and <a class="el" href="classshark_1_1_c_svm_derivative.html#ac11b2f7acd73f07958e8e1d2de9a73a2">shark::CSvmDerivative&lt; InputType, CacheType &gt;::trainer()</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aad1d2282bcb2519f7ff7f31e1a1dc7c2" name="aad1d2282bcb2519f7ff7f31e1a1dc7c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad1d2282bcb2519f7ff7f31e1a1dc7c2">&#9670;&#160;</a></span>get_dalphab_dtheta()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const RealMatrix &amp; <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::get_dalphab_dtheta </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Access to the matrix of SVM coefficients' derivatives. Derivative w.r.t. C is last. </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00206">206</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_c_svm_derivative.html#af618384c52d790cc609ade3a522b38d8">shark::CSvmDerivative&lt; InputType, CacheType &gt;::m_d_alphab_d_theta</a>.</p>

</div>
</div>
<a id="a78db48a428319dd6d11d6c592ccd7935" name="a78db48a428319dd6d11d6c592ccd7935"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78db48a428319dd6d11d6c592ccd7935">&#9670;&#160;</a></span>hasBoundedSVs()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::hasBoundedSVs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Whether there are bounded SVs in the solution. Useful to monitor for degenerate solutions with only bounded and no free SVs. Be sure to call prepareCSvmParameterDerivative after SVM training and before calling this function. </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00203">203</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_c_svm_derivative.html#a313f8373d924b205dd5d6c9720a29449">shark::CSvmDerivative&lt; InputType, CacheType &gt;::m_noofBoundedSVs</a>.</p>

</div>
</div>
<a id="ad9d1a0937c92a0c506baeeb36df5e2da" name="ad9d1a0937c92a0c506baeeb36df5e2da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9d1a0937c92a0c506baeeb36df5e2da">&#9670;&#160;</a></span>hasFreeSVs()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::hasFreeSVs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Whether there are free SVs in the solution. Useful to monitor for degenerate solutions with only bounded and no free SVs. Be sure to call prepareCSvmParameterDerivative after SVM training and before calling this function. </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00199">199</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_c_svm_derivative.html#aad32ca8b5eaae5c0c00f46f05c1891d9">shark::CSvmDerivative&lt; InputType, CacheType &gt;::m_noofFreeSVs</a>.</p>

</div>
</div>
<a id="aaf377dbac6291d22025ca3c8e92d57d9" name="aaf377dbac6291d22025ca3c8e92d57d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf377dbac6291d22025ca3c8e92d57d9">&#9670;&#160;</a></span>ke()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classshark_1_1_c_svm_derivative.html#a9ebe1e82ac4a8d09d74f8aa8db8be056">KeType</a> * <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::ke </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00142">142</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_c_svm_derivative.html#a01ce15f34ecda8ecc078af90d254946d">shark::CSvmDerivative&lt; InputType, CacheType &gt;::mep_ke</a>.</p>

</div>
</div>
<a id="a2e46e908d670b88e6e5ab32f3482e7d8" name="a2e46e908d670b88e6e5ab32f3482e7d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e46e908d670b88e6e5ab32f3482e7d8">&#9670;&#160;</a></span>modelCSvmParameterDerivative()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::modelCSvmParameterDerivative </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &amp;&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">RealVector &amp;&#160;</td>
          <td class="paramname"><em>derivative</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Computes the derivative of the model w.r.t. regularization and kernel parameters. Be sure to call prepareCSvmParameterDerivative after SVM training and before calling this function! </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">input</td><td>an example to be scored by the SVM </td></tr>
    <tr><td class="paramname">derivative</td><td>a vector of derivatives of the score. The last entry is w.r.t. C. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00149">149</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_kernel_function.html#a9057a4a71b4d28febb171e09bbd22c07">shark::AbstractKernelFunction&lt; InputTypeT &gt;::createState()</a>, <a class="el" href="group__shark__globals.html#ga0ea72a74a21d5ff59772516b83c4a58b">shark::Data&lt; Type &gt;::element()</a>, <a class="el" href="classshark_1_1_abstract_kernel_function.html#abd10e3815efade90c7f9e2a7cc8bcb6c">shark::AbstractKernelFunction&lt; InputTypeT &gt;::eval()</a>, <a class="el" href="namespaceshark.html#a1531880b9b4076854b0b26441d353242">shark::getBatchElement()</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#aa37ffb53e952460a43a53f66d2483603">shark::CSvmDerivative&lt; InputType, CacheType &gt;::m_basis</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#a1e8289e061e797734a65706b7759a6c0">shark::CSvmDerivative&lt; InputType, CacheType &gt;::m_boundedAlphaIndices</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#a9d4715c464f82da4b5be48d18111997e">shark::CSvmDerivative&lt; InputType, CacheType &gt;::m_boundedLabels</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#aa6ebca73981c2e0c5998ad29305dfb71">shark::CSvmDerivative&lt; InputType, CacheType &gt;::m_C</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#af618384c52d790cc609ade3a522b38d8">shark::CSvmDerivative&lt; InputType, CacheType &gt;::m_d_alphab_d_theta</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#ae64df699b30ae931165780b9e2301ede">shark::CSvmDerivative&lt; InputType, CacheType &gt;::m_db_dParams_from_solver</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#a864c7537427ab957fa84672bda0162d4">shark::CSvmDerivative&lt; InputType, CacheType &gt;::m_freeAlphaIndices</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#afbd0b3dcbf7f6765a08e40bbbf9a145c">shark::CSvmDerivative&lt; InputType, CacheType &gt;::m_freeAlphas</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#ac2caaa99a014e8d38e60e17cfec5a9a0">shark::CSvmDerivative&lt; InputType, CacheType &gt;::m_nhp</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#aa71919c545c490a4677bd05a78d6ad64">shark::CSvmDerivative&lt; InputType, CacheType &gt;::m_nkp</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#a313f8373d924b205dd5d6c9720a29449">shark::CSvmDerivative&lt; InputType, CacheType &gt;::m_noofBoundedSVs</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#aad32ca8b5eaae5c0c00f46f05c1891d9">shark::CSvmDerivative&lt; InputType, CacheType &gt;::m_noofFreeSVs</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#a1ee6eca2ca7f7d17fcbd8cb0e9a6838f">shark::CSvmDerivative&lt; InputType, CacheType &gt;::m_unconstrained</a>, <a class="el" href="classshark_1_1_c_svm_derivative.html#a8e58aaf2f55f175568cf51728c5c86f2">shark::CSvmDerivative&lt; InputType, CacheType &gt;::mep_k</a>, and <a class="el" href="classshark_1_1_abstract_kernel_function.html#a48557b9834bc06ccb4e005ce441904c8">shark::AbstractKernelFunction&lt; InputTypeT &gt;::weightedParameterDerivative()</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_svm_logistic_interpretation.html#aaf23373024f5c16cb6de60ee2c4fc2c8">shark::SvmLogisticInterpretation&lt; InputType &gt;::evalDerivative()</a>.</p>

</div>
</div>
<a id="a65fc3c6c7de2ef556fdacaa9376e4acb" name="a65fc3c6c7de2ef556fdacaa9376e4acb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65fc3c6c7de2ef556fdacaa9376e4acb">&#9670;&#160;</a></span>name()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_nameable.html#a9893f99314de30cd472e649c235d0db4">shark::INameable</a>.</p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00139">139</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

</div>
</div>
<a id="a4a57799c4b3da25509930d480a0aed19" name="a4a57799c4b3da25509930d480a0aed19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a57799c4b3da25509930d480a0aed19">&#9670;&#160;</a></span>read()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::read </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;&#160;</td>
          <td class="paramname"><em>archive</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>, reads a network from an archive. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_serializable.html#ad4ad9a7c274deff642f91e98417fbc63">shark::ISerializable</a>.</p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00211">211</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

</div>
</div>
<a id="ac11b2f7acd73f07958e8e1d2de9a73a2" name="ac11b2f7acd73f07958e8e1d2de9a73a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac11b2f7acd73f07958e8e1d2de9a73a2">&#9670;&#160;</a></span>trainer()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classshark_1_1_c_svm_derivative.html#a854324eaf0093bae8996e5aa0edc3449">TrainerType</a> * <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::trainer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00143">143</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_c_svm_derivative.html#ae8a6a9c55b58567e079637463464069d">shark::CSvmDerivative&lt; InputType, CacheType &gt;::mep_tr</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_svm_derivative.html#a7ee628c62b706b9b7439840ae5a9546d">shark::CSvmDerivative&lt; InputType, CacheType &gt;::CSvmDerivative()</a>.</p>

</div>
</div>
<a id="ab23ece6f8bff1fbfc3820b9c6031a874" name="ab23ece6f8bff1fbfc3820b9c6031a874"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab23ece6f8bff1fbfc3820b9c6031a874">&#9670;&#160;</a></span>write()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;&#160;</td>
          <td class="paramname"><em>archive</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>, writes a network to an archive. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_serializable.html#a9bddedd42933c922e323b73131f62f12">shark::ISerializable</a>.</p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00214">214</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a389de13ed64569e21da0f57e42efc39d" name="a389de13ed64569e21da0f57e42efc39d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a389de13ed64569e21da0f57e42efc39d">&#9670;&#160;</a></span>m_alpha</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealMatrix&amp; <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_alpha</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>convenience reference to the alpha values of the <a class="el" href="classshark_1_1_kernel_expansion.html" title="Linear model in a kernel feature space.">KernelExpansion</a> </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00085">85</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_svm_derivative.html#a7ee628c62b706b9b7439840ae5a9546d">shark::CSvmDerivative&lt; InputType, CacheType &gt;::CSvmDerivative()</a>.</p>

</div>
</div>
<a id="aa37ffb53e952460a43a53f66d2483603" name="aa37ffb53e952460a43a53f66d2483603"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa37ffb53e952460a43a53f66d2483603">&#9670;&#160;</a></span>m_basis</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classshark_1_1_data.html">Data</a>&lt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>&gt;&amp; <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_basis</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>convenience reference to the underlying data of the <a class="el" href="classshark_1_1_kernel_expansion.html" title="Linear model in a kernel feature space.">KernelExpansion</a> </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00086">86</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_svm_derivative.html#a2e46e908d670b88e6e5ab32f3482e7d8">shark::CSvmDerivative&lt; InputType, CacheType &gt;::modelCSvmParameterDerivative()</a>.</p>

</div>
</div>
<a id="a1e8289e061e797734a65706b7759a6c0" name="a1e8289e061e797734a65706b7759a6c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e8289e061e797734a65706b7759a6c0">&#9670;&#160;</a></span>m_boundedAlphaIndices</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; std::size_t &gt; <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_boundedAlphaIndices</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>indices of bounded SVs </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00099">99</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_svm_derivative.html#a2e46e908d670b88e6e5ab32f3482e7d8">shark::CSvmDerivative&lt; InputType, CacheType &gt;::modelCSvmParameterDerivative()</a>.</p>

</div>
</div>
<a id="a4e241e0dd76c9c4542dbb11215ff27bd" name="a4e241e0dd76c9c4542dbb11215ff27bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e241e0dd76c9c4542dbb11215ff27bd">&#9670;&#160;</a></span>m_boundedAlphas</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealVector <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_boundedAlphas</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>bounded non-SV alpha values </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00101">101</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

</div>
</div>
<a id="a9d4715c464f82da4b5be48d18111997e" name="a9d4715c464f82da4b5be48d18111997e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d4715c464f82da4b5be48d18111997e">&#9670;&#160;</a></span>m_boundedLabels</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealVector <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_boundedLabels</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>labels of bounded non-SVs </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00102">102</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_svm_derivative.html#a2e46e908d670b88e6e5ab32f3482e7d8">shark::CSvmDerivative&lt; InputType, CacheType &gt;::modelCSvmParameterDerivative()</a>.</p>

</div>
</div>
<a id="aa6ebca73981c2e0c5998ad29305dfb71" name="aa6ebca73981c2e0c5998ad29305dfb71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6ebca73981c2e0c5998ad29305dfb71">&#9670;&#160;</a></span>m_C</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_C</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>the regularization parameter value with which the SvmTrainer trained the <a class="el" href="classshark_1_1_kernel_expansion.html" title="Linear model in a kernel feature space.">KernelExpansion</a> </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00090">90</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_svm_derivative.html#a2e46e908d670b88e6e5ab32f3482e7d8">shark::CSvmDerivative&lt; InputType, CacheType &gt;::modelCSvmParameterDerivative()</a>.</p>

</div>
</div>
<a id="af618384c52d790cc609ade3a522b38d8" name="af618384c52d790cc609ade3a522b38d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af618384c52d790cc609ade3a522b38d8">&#9670;&#160;</a></span>m_d_alphab_d_theta</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealMatrix <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_d_alphab_d_theta</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Main member and result, computed in the prepareDerivative-step: Stores the derivative of the <b>free</b> alphas w.r.t. SVM hyperparameters as obtained through the <a class="el" href="classshark_1_1_c_svm_trainer.html" title="Training of C-SVMs for binary classification.">CSvmTrainer</a> (for C) and through the kernel (for the kernel parameters). Each row corresponds to one <b>free</b> alpha, each column to one hyperparameter. The <b>last</b> column is the derivative of (free_alphas, b) w.r.t C. All <b>previous</b> columns are w.r.t. the kernel parameters. </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00110">110</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_svm_derivative.html#aad1d2282bcb2519f7ff7f31e1a1dc7c2">shark::CSvmDerivative&lt; InputType, CacheType &gt;::get_dalphab_dtheta()</a>, and <a class="el" href="classshark_1_1_c_svm_derivative.html#a2e46e908d670b88e6e5ab32f3482e7d8">shark::CSvmDerivative&lt; InputType, CacheType &gt;::modelCSvmParameterDerivative()</a>.</p>

</div>
</div>
<a id="ae64df699b30ae931165780b9e2301ede" name="ae64df699b30ae931165780b9e2301ede"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae64df699b30ae931165780b9e2301ede">&#9670;&#160;</a></span>m_db_dParams_from_solver</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const RealVector&amp; <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_db_dParams_from_solver</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>convenience access to the correction term from the solver, for the rare case that there are no free SVs </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00087">87</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_svm_derivative.html#a2e46e908d670b88e6e5ab32f3482e7d8">shark::CSvmDerivative&lt; InputType, CacheType &gt;::modelCSvmParameterDerivative()</a>.</p>

</div>
</div>
<a id="a864c7537427ab957fa84672bda0162d4" name="a864c7537427ab957fa84672bda0162d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a864c7537427ab957fa84672bda0162d4">&#9670;&#160;</a></span>m_freeAlphaIndices</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; std::size_t &gt; <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_freeAlphaIndices</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>indices of free SVs </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00098">98</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_svm_derivative.html#a2e46e908d670b88e6e5ab32f3482e7d8">shark::CSvmDerivative&lt; InputType, CacheType &gt;::modelCSvmParameterDerivative()</a>.</p>

</div>
</div>
<a id="afbd0b3dcbf7f6765a08e40bbbf9a145c" name="afbd0b3dcbf7f6765a08e40bbbf9a145c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afbd0b3dcbf7f6765a08e40bbbf9a145c">&#9670;&#160;</a></span>m_freeAlphas</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealVector <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_freeAlphas</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>free non-SV alpha values </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00100">100</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_svm_derivative.html#a2e46e908d670b88e6e5ab32f3482e7d8">shark::CSvmDerivative&lt; InputType, CacheType &gt;::modelCSvmParameterDerivative()</a>.</p>

</div>
</div>
<a id="ac2caaa99a014e8d38e60e17cfec5a9a0" name="ac2caaa99a014e8d38e60e17cfec5a9a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2caaa99a014e8d38e60e17cfec5a9a0">&#9670;&#160;</a></span>m_nhp</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_nhp</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>convenience member holding the Number of Hyper Parameters. </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00093">93</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_svm_derivative.html#a2e46e908d670b88e6e5ab32f3482e7d8">shark::CSvmDerivative&lt; InputType, CacheType &gt;::modelCSvmParameterDerivative()</a>.</p>

</div>
</div>
<a id="aa71919c545c490a4677bd05a78d6ad64" name="aa71919c545c490a4677bd05a78d6ad64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa71919c545c490a4677bd05a78d6ad64">&#9670;&#160;</a></span>m_nkp</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_nkp</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>convenience member holding the Number of Kernel Parameters. </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00092">92</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_svm_derivative.html#a2e46e908d670b88e6e5ab32f3482e7d8">shark::CSvmDerivative&lt; InputType, CacheType &gt;::modelCSvmParameterDerivative()</a>.</p>

</div>
</div>
<a id="a313f8373d924b205dd5d6c9720a29449" name="a313f8373d924b205dd5d6c9720a29449"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a313f8373d924b205dd5d6c9720a29449">&#9670;&#160;</a></span>m_noofBoundedSVs</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_noofBoundedSVs</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>number of bounded SVs </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00097">97</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_svm_derivative.html#a78db48a428319dd6d11d6c592ccd7935">shark::CSvmDerivative&lt; InputType, CacheType &gt;::hasBoundedSVs()</a>, and <a class="el" href="classshark_1_1_c_svm_derivative.html#a2e46e908d670b88e6e5ab32f3482e7d8">shark::CSvmDerivative&lt; InputType, CacheType &gt;::modelCSvmParameterDerivative()</a>.</p>

</div>
</div>
<a id="aad32ca8b5eaae5c0c00f46f05c1891d9" name="aad32ca8b5eaae5c0c00f46f05c1891d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad32ca8b5eaae5c0c00f46f05c1891d9">&#9670;&#160;</a></span>m_noofFreeSVs</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_noofFreeSVs</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>number of free SVs </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00096">96</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_svm_derivative.html#ad9d1a0937c92a0c506baeeb36df5e2da">shark::CSvmDerivative&lt; InputType, CacheType &gt;::hasFreeSVs()</a>, and <a class="el" href="classshark_1_1_c_svm_derivative.html#a2e46e908d670b88e6e5ab32f3482e7d8">shark::CSvmDerivative&lt; InputType, CacheType &gt;::modelCSvmParameterDerivative()</a>.</p>

</div>
</div>
<a id="a1ee6eca2ca7f7d17fcbd8cb0e9a6838f" name="a1ee6eca2ca7f7d17fcbd8cb0e9a6838f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ee6eca2ca7f7d17fcbd8cb0e9a6838f">&#9670;&#160;</a></span>m_unconstrained</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_unconstrained</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>is the unconstrained flag of the SvmTrainer set? Influences the derivatives! </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00091">91</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_svm_derivative.html#a2e46e908d670b88e6e5ab32f3482e7d8">shark::CSvmDerivative&lt; InputType, CacheType &gt;::modelCSvmParameterDerivative()</a>.</p>

</div>
</div>
<a id="a8e58aaf2f55f175568cf51728c5c86f2" name="a8e58aaf2f55f175568cf51728c5c86f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e58aaf2f55f175568cf51728c5c86f2">&#9670;&#160;</a></span>mep_k</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_c_svm_derivative.html#a1a954968c2f086b9c7f16b4a68d69556">KernelType</a>* <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::mep_k</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>convenience pointer to the underlying kernel function </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00084">84</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_svm_derivative.html#a2e46e908d670b88e6e5ab32f3482e7d8">shark::CSvmDerivative&lt; InputType, CacheType &gt;::modelCSvmParameterDerivative()</a>.</p>

</div>
</div>
<a id="a01ce15f34ecda8ecc078af90d254946d" name="a01ce15f34ecda8ecc078af90d254946d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01ce15f34ecda8ecc078af90d254946d">&#9670;&#160;</a></span>mep_ke</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_kernel_expansion.html">KernelExpansion</a>&lt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>&gt;* <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::mep_ke</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>pointer to the <a class="el" href="classshark_1_1_kernel_expansion.html" title="Linear model in a kernel feature space.">KernelExpansion</a> which has to have been been trained by the below SvmTrainer </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00082">82</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_svm_derivative.html#a7ee628c62b706b9b7439840ae5a9546d">shark::CSvmDerivative&lt; InputType, CacheType &gt;::CSvmDerivative()</a>, and <a class="el" href="classshark_1_1_c_svm_derivative.html#aaf377dbac6291d22025ca3c8e92d57d9">shark::CSvmDerivative&lt; InputType, CacheType &gt;::ke()</a>.</p>

</div>
</div>
<a id="ae8a6a9c55b58567e079637463464069d" name="ae8a6a9c55b58567e079637463464069d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8a6a9c55b58567e079637463464069d">&#9670;&#160;</a></span>mep_tr</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_c_svm_derivative.html#a854324eaf0093bae8996e5aa0edc3449">TrainerType</a>* <a class="el" href="classshark_1_1_c_svm_derivative.html">shark::CSvmDerivative</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::mep_tr</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>pointer to the SvmTrainer with which the above <a class="el" href="classshark_1_1_kernel_expansion.html" title="Linear model in a kernel feature space.">KernelExpansion</a> has to have been trained </p>

<p class="definition">Definition at line <a class="el" href="_c_svm_derivative_8h_source.html#l00083">83</a> of file <a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_svm_derivative.html#ac11b2f7acd73f07958e8e1d2de9a73a2">shark::CSvmDerivative&lt; InputType, CacheType &gt;::trainer()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/Models/Kernels/<a class="el" href="_c_svm_derivative_8h_source.html">CSvmDerivative.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
